count to ten

Calm down, get hold of oneself. For example, Before you tell him what you think of him, count to ten. Often used as an imperative, this phrase in effect means that if one takes the time to count from one to ten one can regain one's composure.